package com.huadu.service;

import com.huadu.entity.AddressBook;

import java.util.List;

/**
 * @date 2024/4/26 15:18
 */

public interface AddressBookService {

    List<AddressBook> list(AddressBook addressBook);

    void save(AddressBook addressBook);

    AddressBook getById(Long id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);
}
